//package org.jeecg.modules.fk.controller;
//
//import org.jeecg.modules.fk.core.rest.RestResponse;
//import org.jeecg.modules.fk.vo.req.RiskDashboardReqDto;
//import org.jeecg.modules.fk.service.RiskDashboardService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.validation.Valid;
//import java.util.Map;
//
///**
// * @title: RiskDashboardResource.java
// * @package: org.jeecg.modules.fk.mapper.rest.front
// * @description: 风险面板
// * @author: yuancheng
// * @date: 2020-12-21 11:10
// */
//@Slf4j
//@RequestMapping("/front/dashboard")
//@RestController
//public class RiskDashboardResource {
//
//    @Autowired
//    RiskDashboardService riskDashboardService;
//
//    @RequestMapping("/getRiskDashboardData")
//    public RestResponse<Object> getRiskDashboardData(@RequestBody @Valid RiskDashboardReqDto dto) {
//        Map<String, Object> result = this.riskDashboardService.getRiskDashboardData(dto);
//
//        return RestResponse.successData(result);
//    }
//
//    @RequestMapping("/getRiskDashboardDataMT")
//    public RestResponse<Object> getRiskDashboardDataMT(@RequestBody @Valid RiskDashboardReqDto dto) {
//        Map<String, Object> result = this.riskDashboardService.getRiskDashboardDataMT(dto);
//
//        return RestResponse.successData(result);
//    }
//
//}
